home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Total Network Tools 2002
/
NextStepPublishing-TotalNetworkTools2002-Win95.iso
/
Archive
/
Misc Servers
/
Hamster.EXE
/
hwindows.hsm
< prev
Wrap
Text File
|
2000-05-07
|
2KB
|
50 lines
########################################################################
# Module : hwindows.hsm
# Description: Windows-constants.
# Maintainer : Juergen Haible <juergen.haible@t-online.de>
# Version : 2000-05-07
########################################################################
# NOTE:
# This module is delivered with Hamster and it will be overwritten when
# installing a new version of it. It might also be used by accompanying
# demo-scripts, which depend on the current implementation.
# So do NOT change this file unless you REALLY know what you do!
########################################################################
#!initialize
debug( 255, "<<< module 'hwindows.hsm' >>>" )
# MsgBox()-styles:
varset( $MB_OK , 0x00000000 )
varset( $MB_OKCANCEL , 0x00000001 )
varset( $MB_ABORTRETRYIGNORE , 0x00000002 )
varset( $MB_YESNOCANCEL , 0x00000003 )
varset( $MB_YESNO , 0x00000004 )
varset( $MB_RETRYCANCEL , 0x00000005 )
varset( $MB_ICONERROR , 0x00000010 )
varset( $MB_ICONQUESTION , 0x00000020 )
varset( $MB_ICONWARNING , 0x00000030 )
varset( $MB_ICONINFORMATION , 0x00000040 )
varset( $MB_DEFBUTTON1 , 0x00000000 )
varset( $MB_DEFBUTTON2 , 0x00000100 )
varset( $MB_DEFBUTTON3 , 0x00000200 )
varset( $MB_DEFBUTTON4 , 0x00000300 )
# MsgBox()-results:
varset( $IDOK , 1 )
varset( $IDCANCEL , 2 )
varset( $IDABORT , 3 )
varset( $IDRETRY , 4 )
varset( $IDIGNORE , 5 )
varset( $IDYES , 6 )
varset( $IDNO , 7 )
# Execute()-showmodes:
varset( $SW_HIDE , 0 )
varset( $SW_SHOWNORMAL , 1 )
varset( $SW_SHOWMINIMIZED , 2 )
varset( $SW_SHOWMAXIMIZED , 3 )
return( 0 )